---
export interface Props {
  id: string;
  title: string;
  date: string;
  image?: string;
  href: string;
}

const { id, title, date, image = "/img/top/movie_ttl2.png", href } = Astro.props;
---

<article id={`anc_${id}`}>
    <div class="news_list_wrap">
        <a href={href}>
            <div class="pic">
                <img src={image} alt={title} width="100%" style="background-color: #f0f0f0;">
            </div>
            <div class="tit_box">
                <p class="data">{date}</p>
                <div class="newstit">
                    <p class="show_pc">{title}</p>
                    <p class="show_tbsp">{title}</p>
                </div>
            </div>
        </a>
    </div>
</article>
